/*背景颜色*/

.bgf9f9f9 {
    background: #f9f9f9
}

.bgf3f2f7 {
    background: #f3f2f7
}

.bgf7f7f7 {
    background: #f7f7f7
}

/*颜色*/

.cr666 {
    color: #666
}

.cr999 {
    color: #999
}

.cr000 {
    color: #000
}

.cr333 {
    color: #333
}

.crf23030 {
    color: #f23030
}

/*间距*/

.mt10 {
    margin-top: .2rem;
}

.mt20 {
    margin-top: .4rem;
}

.mb10 {
    margin-bottom: .2rem;
}

.mb20 {
    margin-bottom: .4rem;
}

.pd10 {
    padding: .2rem;
}

.pd20 {
    padding: .4rem;
}

.block_item {
    margin-bottom: .2rem;
    background: #fff
}

.block_item:last-child {
    margin-bottom: 0
}

.getmore {
    display: block;
    text-align: center;
    line-height: .6rem;
    color: #666;
}

.empty {
    text-align: center;
    color: #666;
    padding: .2rem 0;
}

.empty img {
    width: 1.2rem;
}

.empty p:last-child {
    margin-top: .1rem;
}

/*文字截取*/

.line-clamp-1,
.line-clamp-2 {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.line-clamp-1 {
    white-space: nowrap;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}

/*上下左右居中*/

.abs-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*上下居中*/

.abs-topcenter {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/*左右居中*/

.abs-leftcenter {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/*0.5px边框*/

.bdr-b {
    &::after {
        position: absolute;
        content: '';
        -webkit-transform: scaleY(.5);
        transform: scaleY(.5);
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 1px;
        border-bottom: 1px solid #eeeeee;
        z-index: 10;
    }
}

.bdr-t {
    &::before {
        position: absolute;
        content: '';
        -webkit-transform: scaleY(.5);
        transform: scaleY(.5);
        top: -1px;
        left: 0;
        width: 100%;
        height: 1px;
        border-top: 1px solid #eeeeee;
        z-index: 10;
    }
}

/*分三栏fix头部*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: .88rem;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
    font-size: .3rem;
    a {
        color: #333;
    }
    .left {
        width: 15%;
    }
    .middle {
        width: 70%;
        font-size: .32rem;
        img {
            height: .32rem;
        }
    }
    .right {
        width: 15%;
    }
}

/*分两栏fix底部*/

.footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 1rem;
    z-index: 15;
    background-color: hsla(0, 0%, 100%, .95);
    .left {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30%;
        a {
            width: 50%;
            height: 100%;
            font-size: .24rem;
            span {
                display: flex;
                justify-content: center;
                align-items: center;
                line-height: 1.3;
                &:first-child {
                    margin-top: .14rem;
                }
                i {
                    font-size: .4rem;
                }
            }
        }
    }
    .right {
        display: flex;
        flex: 1;
        height: 100%;
        background: #f23030;
        span {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            font-size: .36rem;
        }
    }
}

/*带link左右单行 换行加rows*/

.link_ul {
    background: #fff;
    a {
        color: #333;
    }
    li {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: .2rem; // border-bottom: #f2f2f2 solid 1px;
        &::after {
            position: absolute;
            content: '';
            -webkit-transform: scaleY(.5);
            transform: scaleY(.5);
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 1px;
            border-bottom: 1px solid #eeeeee;
            z-index: 10;
        }
        .left {
            display: flex;
            align-items: center;
            span {
                display: block;
                &:first-child {
                    margin-right: .1rem;
                }
                &.pic {
                    img {
                        border-radius: 50%;
                        width: 1rem;
                        height: 1rem;
                    }
                }
                &.rows {
                    em {
                        display: block; // line-height: 1.3;
                    }
                }
            }
            &.rows {
                display: block;
            }
        }
        .right {
            text-align: right;
            span {
                display: block;
            }
            &.rows {
                display: block;
            }
        }
    }
}

/*消息提示*/

.message {
    padding: .2rem 0;
    margin-top: 26%;
    text-align: center;
    p {
        font-size: .36rem;
        color: rgba(51, 51, 51, .66);
        line-height: .48rem;
        margin: .22rem 0;
        &.pic {
            margin-bottom: .3rem;
            img {
                width: 2rem;
            }
        }
    }
}

/*横向网格*/

.grids_1 {
    padding: 0.2rem 0;
    display: flex;
    justify-content: space-around;
    text-align: center;
    .item {
        .icon {
            .a1 {
                font-size: 0.32rem;
                color: #e93b3d;
                display: inline-block;
            }
            img {
                width: 0.56rem;
                height: 0.56rem;
            }
            .a2 {
                color: #e93b3d;
                font-size: 0.2rem;
                margin-left: 0.08rem;
                display: inline-block;
            }
        }
        .txt {
            color: #333;
            font-size: 0.24rem;
        }
    }
}

/*tabs*/

.tabs_1 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    li {
        height: .8rem;
        line-height: .8rem;
        cursor: pointer;
        position: relative;
        color: #333;
        background-color: #fff;
        &::after {
            content: "";
            width: 0;
            height: 2px;
            background-color: #f23030;
            position: absolute;
            left: 100%;
            bottom: 0;
            transition: all .4s;
        }
        &:hover,
        &.on {
            color: #f23030;
            &::after {
                width: 100%;
                left: 0;
                transition-delay: 0.1s;
            }
            &~li::after {
                left: 0;
            }
        }
    }
}

/*按钮*/

.btn_default {
    display: flex;
    line-height: .88rem;
    font-size: .36rem;
    background: #369cf1;
    color: #fff;
    border-radius: .1rem;
    border: #1090d7 solid 1px;
    justify-content: center;
}

.btn_gray {
    display: flex;
    line-height: .88rem;
    font-size: .36rem;
    background: #f6f1f7;
    color: #333;
    border-radius: .1rem;
    border: #1090d7 solid 1px;
    justify-content: center;
}